﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace PropertyBagDemo
{
    class Mp3File
    {
        public Mp3File(string filename, int tracknum, string artist, string title, string album, int year)
        {
            Filename = filename;
            TrackNum = tracknum;
            Artist = artist;
            Title = title;
            Album = album;
            Year = year;
        }

        private string _filename;
        public string Filename
        {
            get { return this._filename; }
            set { this._filename = value; }
        }

        private int _trackNum;
        [TypeConverter(typeof(Int32Converter))]
        public int TrackNum
        {
            get { return this._trackNum; }
            set { this._trackNum = value; }
        }

        private string _artist;
        public string Artist
        {
            get { return this._artist; }
            set { this._artist = value; }
        }

        private string _title;
        public string Title
        {
            get { return this._title; }
            set { this._title = value; }
        }

        private string _album;
        public string Album
        {
            get { return this._album; }
            set { this._album = value; }
        }

        private int _year;
        public int Year
        {
            get { return this._year; }
            set { this._year = value; }
        }

			
			

			
    }
}
